package com.base.card.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.base.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 密码卡密钥历史对象 t_crypt_card_key_history
 *
 * @author base
 * @date 2023-10-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_crypt_card_key_history")
public class TCryptCardKeyHistory extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 卡编码(初始+3位数字自增)
     */
    @TableId(value = "auto_id")
    private String autoId;
    /**
     *
     */
    private String cardCode;
    /**
     * 签名证书序列号
     */
    private Integer cardIdx;
    /**
     * 签名证书主体dn
     */
    private String keyCode;
    /**
     * 签名证书生效时间
     */
    private Date distributeTime;
    /**
     *
     */
    private String operator;
    /**
     *
     */
    private String remark;
    /**
     * 密钥来源(1-密码卡自身 2-应用共享)
     */
    private String keySource;
    /**
     * 密钥分发状态(0-未分发 1-已分发)
     */
    private String keyDistributeStatus;

}
